#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <iostream>
#include <assert.h>
using namespace std;
#pragma once

#define MAX 100

enum
{
	Exit,
	add,
	findname,
	show,
	del,
	modify,
	Empty
};

typedef struct person
{
	string name;
	int age;
	string sex;
	string tele;
	string addr;
}person;

typedef struct ressbook
{
	person book[MAX];
	int dete;
}ressbook;

void Selection(int option, ressbook* per);
void Initressbook(ressbook* per);
void Addressbook(ressbook* per);
void Findressbook(ressbook* per);
void Showressbook(ressbook* per);
void Delressbook(ressbook* per);
void Modifyressbook(ressbook* per);
void Emptyressbook(ressbook* per);